<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文档应用 (DocView)</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
            background-color: #f4f4f4;
        }
        h1 {
            font-size: 36px; /* 标题变大 */
            margin-top: 10px; /* 标题上移 */
        }
        .container {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            width: 60%; /* 三个按钮占据屏幕的60% */
        }
        .button {
            display: inline-block;
            padding: 20px 40px; /* 按钮变大 */
            background-color: #007BFF;
            color: #fff;
            text-decoration: none;
            border: none;
            border-radius: 5px;
            margin: 10px;
            font-size: 24px; /* 按钮变大 */
            text-align: center; /* 文本居中 */
        }
        .button:hover {
            background-color: #0056b3;
        }
        .design {
            position: absolute;
            bottom: 10px;
            right: 10px;
            font-size: 12px;
            color: #888; /* 很不起眼的颜色 */
        }
        /* 移动端适配 */
        @media screen and (max-width: 768px) {
            h1 {
                font-size: 24px; /* 标题在移动端变小 */
            }
            .container {
                width: 80%; /* 移动端宽度调整 */
                flex-direction: column; /* 按钮垂直排列 */
            }
            .button {
                width: 80%; /* 移动端按钮宽度调整 */
                padding: 15px 30px; /* 移动端按钮内边距调整 */
                font-size: 18px; /* 移动端按钮字体大小调整 */
            }
            .design {
                position: static; /* 移动端取消绝对定位 */
                margin-top: 10px; /* 移动端上移 */
                text-align: center; /* 移动端居中 */
            }
        }
    </style>
</head>
<body>
<h1>文档应用 (DocView)</h1>
<div class="container">
    <a href="/test/url" class="button">URL生成器</a>
    <a href="/test/signature" class="button">Signature生成器</a>
    <a href="/test/encode" class="button">AES加密器</a>
    <a href="/test/decode" class="button">AES解密器</a>
</div>
<div class="design">design by pwb.</div>

<script>
    const currentURL = window.location.hostname;
    console.log(currentURL);
</script>

</body>
</html>
